<template>
	<view class="">
		<view class="sxneir">
			<image src="../../static/ad.png" mode="" class="ad"></image>
			<view class="title">
				339旋转餐厅.秋季钜惠.周末节假日适用
			</view>
			<view class="btnbox">
				<view class="letfbox">
					<text class="danwei">￥</text>
					<text class="price">20.00</text>
					<text class="xiaoliang">已拼<text class="num">500</text>件</text>
				</view>
				<view class="rightbox">
					<image src="../../static/zhuanf.png" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.sxneir {
		width: 629rpx;
		border-top-left-radius: 20rpx;
		border-top-right-radius: 20rpx;
		margin-left: 25rpx;
		margin-top: 33rpx;
		background-color: #FFF;
		margin-bottom: 10rpx;
		padding-bottom: 23rpx;
		box-sizing: border-box;
		margin-bottom: 30rpx;
	
		.qgz {
			position: absolute;
			width: 106rpx;
			height: 44rpx;
			background-color: #00af48;
			border-radius: 20rpx;
			text-align: center;
			line-height: 44rpx;
			font-family: MicrosoftYaHei;
			font-size: 24rpx;
			color: #ffffff;
			top: 280rpx;
			right: 14rpx;
			
		}
	
		.ad {
			width: 629rpx;
			height: 304rpx;
			border-top-left-radius: 20rpx;
			border-top-right-radius: 20rpx;
			display: block;
			margin: 0 auto;
		}
	
		.title {
			font-family: MicrosoftYaHei-Bold;
			font-size: 28rpx;
			color: #222222;
			font-weight: 700;
			margin-top: 15rpx;
			margin-left: 20rpx;
			width: 481rpx;
			overflow: hidden; //超出隐藏
			text-overflow: ellipsis; 
			white-space:nowrap;
		}
	
		.btnbox {
			display: flex;
			justify-content: space-between;
			margin-left: 20rpx;
			margin-right: 20rpx;
			margin-top: 30rpx;
	
	
			.letfbox {
				.danwei {
					font-size: 22rpx;
					font-family: AdobeHeitiStd-Regular;
					line-height: 52rpx;
					color: #f73f33;
				}
	
				.price {
					font-family: AdobeHeitiStd-Regular;
					font-size: 36rpx;
					letter-spacing: 0rpx;
					color: #f73f33;
				}
	
				.delprice {
					font-family: MicrosoftYaHei;
					font-size: 22rpx;
					font-weight: normal;
					letter-spacing: 0rpx;
					color: #666666;
					text-decoration: line-through;
					margin-left: 10rpx;
				}
	
				.xiaoliang {
					font-family: MicrosoftYaHei;
					font-size: 22rpx;
					font-weight: normal;
					letter-spacing: 0rpx;
					color: #666666;
					margin-left: 20rpx;
					.num{
						color: #f74034;
					}
				}
			}
	
			.rightbox {
				image {
					width: 32rpx;
					height: 32rpx;
				}
			}
		}
	}
</style>
